﻿@using NGroup.VTL.Models;
@using System.Collections.Generic;
@model List<ProductModel>
@{  
    PagingInfoModel pagingInfo = (PagingInfoModel)ViewBag.PagingInfo;
}
<div class="art-post">
    <div class="art-post-body">
        @if (Model != null && Model.Count > 0)
        {
            <div class="art-post-inner">
                <div class="art-postcontent">
                @Html.Partial("gioi_thieu_cty")
                    <!-- article-content -->
                    <div class="art-blockheader itemListHeader">
                        <h1 class="t">@Convert.ToString(ViewBag.Title)</h1>
                    </div>
                    <div id="vmMainPage">
                        @* <h3 class="title">
                            @Convert.ToString(ViewBag.Title)
                        </h3>*@
                        <!-- ORDER BY .... FORM -->
                        <div id="product_list" style="width: 100%;">
                            @foreach (var item in Model)
                            {
                                <div class="product-style">
                                    <div style="padding-left: 20px;">
                                        <div class="product-style1">
                                            <div class="product-title">
                                                <a  class="product-style2" title="@item.Title"
                                            href="/@item.SupTypeIDString/@item.TypeIDString/@item.UniqueString">@item.Title</a>
                                                <br />
                                            </div>
                                            <div style="height: 120px;">
                                                <a class="hasTip" href="/@item.SupTypeIDString/@item.TypeIDString/@item.UniqueString">
                                                    <img src="@Url.Content(item.ImageSmallURL)" height="150" width="150" alt="@item.Title" border="0" />
                                                    <div class="tootlipContent hidden" title="@item.Title">
                                                        <img src="@item.ImageLargeURL" alt="@item.Title" border="0"/></div>
                                                </a>
                                            </div>
                                            <div style="color: black;">
                                            </div>
                                            <br style="clear: both;" />
                                            <div style="display: none">
                                                .</div>
                                            <div style="margin-top: 3px; display: none">
                                            </div>
                                            <br style="clear: both;" />
                                        </div>
                                    </div>
                                </div>
                            }
                        </div>
                        <br class="clr">
                        <div id="statusBox" style="text-align: center; display: none; visibility: hidden;">
                        </div>
                        <!-- BEGIN PAGE NAVIGATION -->
                        <form action="/@Convert.ToString(ViewBag.ParentUniqueString)" method="post" id="frmPaging">
                        @Html.Partial("PagingPartial", pagingInfo)
                        </form>
                    </div>
                    <!-- /article-content -->
                </div>
                <div class="cleared">
                </div>
            </div>
            <div class="cleared">
            </div>
        }
    </div>
</div>
